<script type="text/javascript">
  window.wechatConfig = {
    timestamp: '{{$signature['timestamp']}}',
    nonceStr: '{{$signature['nonceStr']}}',
    signature: '{{$signature['signature']}}',
    jsApiList: ['chooseWXPay', 'onMenuShareAppMessage', 'onMenuShareTimeline', 'onMenuShareQQ', 'onMenuShareQZone']
  }
</script>